Pagini recente » Borderou de evaluare (job #2104038) | Borderou de evaluare (job #1124458) | Borderou de evaluare (job #405980) | Borderou de evaluare (job #2568297) | Borderou de evaluare (job #1216880)
Borderou de evaluare (job #1216880)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<H.size()-1;++i)
^
user.cpp:26:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=i+1;j<H.size();++j)
^
user.cpp:29:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<H.size();++i) suma+=H[i].first, V.push_back(H[i].first+H[i].second);
^
user.cpp:30:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<V.size()-1;++i)
^
user.cpp:31:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=i+1;j<V.size();++j)
^
user.cpp:33:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<H.size();++i)
^
user.cpp: In function ‘void openIOFiles()’:
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici3.in","r",stdin);
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici3.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:18:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:20:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:23:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&MAX);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 5 | 5 |
2 | 0ms | 268kb | OK | 5 | 5 |
3 | 0ms | 280kb | Incorect | 0 | 0 |
4 | 0ms | 276kb | OK | 5 | 5 |
5 | 0ms | 276kb | Incorect | 0 | 0 |
6 | 0ms | 272kb | Incorect | 0 | 0 |
7 | 0ms | 268kb | Incorect | 0 | 0 |
8 | 0ms | 276kb | Incorect | 0 | 0 |
9 | 0ms | 276kb | OK | 5 | 5 |
10 | 0ms | 272kb | Incorect | 0 | 0 |
11 | 0ms | 272kb | Incorect | 0 | 0 |
12 | 0ms | 280kb | Incorect | 0 | 0 |
13 | 0ms | 280kb | Incorect | 0 | 0 |
14 | 0ms | 272kb | Incorect | 0 | 0 |
15 | 0ms | 280kb | Incorect | 0 | 0 |
16 | 12ms | 308kb | Incorect | 0 | 0 |
17 | 0ms | 284kb | Incorect | 0 | 0 |
18 | 0ms | 280kb | Incorect | 0 | 0 |
19 | 0ms | 276kb | Incorect | 0 |
20 | 0ms | 272kb | Incorect | 0 |
Punctaj total | 20 |