Pagini recente » Borderou de evaluare (job #54757) | Borderou de evaluare (job #1279848) | Borderou de evaluare (job #702703) | Borderou de evaluare (job #1321799) | Borderou de evaluare (job #2434101)
Borderou de evaluare (job #2434101)
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, 12, 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 | 46ms | 24248kb | OK | 5 |
5 | 50ms | 24117kb | OK | 5 |
6 | 51ms | 24117kb | OK | 5 |
7 | 50ms | 24117kb | OK | 5 |
8 | 51ms | 24117kb | OK | 5 |
9 | 52ms | 24117kb | OK | 5 |
10 | 57ms | 24510kb | OK | 5 |
11 | 57ms | 24510kb | OK | 5 |
12 | 80ms | 25034kb | OK | 5 |
13 | 281ms | 30146kb | OK | 5 |
14 | 51ms | 25690kb | Killed by Signal 11 | 0 |
15 | 44ms | 25690kb | Killed by Signal 11 | 0 |
16 | 179ms | 56098kb | Killed by Signal 11 | 0 |
17 | 200ms | 56098kb | Killed by Signal 11 | 0 |
18 | 203ms | 56229kb | Killed by Signal 11 | 0 |
19 | 174ms | 56229kb | Killed by Signal 11 | 0 |
20 | 191ms | 56229kb | Killed by Signal 11 | 0 |
Punctaj total | 65 |