Pagini recente » Borderou de evaluare (job #1348385) | Borderou de evaluare (job #540820) | Borderou de evaluare (job #2407887) | Borderou de evaluare (job #4273) | Borderou de evaluare (job #2434102)
Borderou de evaluare (job #2434102)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1; i<=N; ++i) Graph[i].push_back(0); Sol=N; fgetc(stdin);
^~~
main.cpp:16:48: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1; i<=N; ++i) Graph[i].push_back(0); Sol=N; fgetc(stdin);
^~~
main.cpp:31:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1; j<Graph[i].size(); ++j) if(Graph[Graph[i][j]][0]==0){
~^~~~~~~~~~~~~~~~
main.cpp:13:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("berarii2.in", "r", stdin);
^
main.cpp:14:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("berarii2.out", "w", stdout);
^
main.cpp:15:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &M, &P);
^
main.cpp:19:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(c, 25, stdin); k=-1;
^
main.cpp:25:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 50ms | 24117kb | OK | 5 |
2 | 50ms | 24117kb | OK | 5 |
3 | 50ms | 24117kb | OK | 5 |
4 | 50ms | 24117kb | OK | 5 |
5 | 50ms | 24117kb | OK | 5 |
6 | 51ms | 24117kb | OK | 5 |
7 | 55ms | 24084kb | OK | 5 |
8 | 54ms | 24117kb | OK | 5 |
9 | 52ms | 24174kb | OK | 5 |
10 | 57ms | 24510kb | OK | 5 |
11 | 58ms | 24510kb | OK | 5 |
12 | 83ms | 25034kb | OK | 5 |
13 | 292ms | 30015kb | OK | 5 |
14 | 81ms | 25952kb | OK | 5 |
15 | 509ms | 32010kb | OK | 5 |
16 | 977ms | 63176kb | OK | 5 |
17 | 1047ms | 63242kb | OK | 5 |
18 | 1152ms | 63307kb | OK | 5 |
19 | 1230ms | 63438kb | OK | 5 |
20 | 1136ms | 63606kb | OK | 5 |
Punctaj total | 100 |