Pagini recente » Borderou de evaluare (job #289761) | Borderou de evaluare (job #927537) | Borderou de evaluare (job #3029976) | Borderou de evaluare (job #1376635) | Borderou de evaluare (job #1216699)
Borderou de evaluare (job #1216699)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:13:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<graf[nod].size(); i++)
^
user.cpp: In function ‘void color(int, int)’:
user.cpp:20:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<graf[nod].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("painting.in","r",stdin);
^
user.cpp:27:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("painting.out","w",stdout);
^
user.cpp:28:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&N,&M);
^
user.cpp:32:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&x,&y);
^
user.cpp:38:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&a[i].nod,&a[i].cul);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1436kb | OK | 10 |
2 | 0ms | 1464kb | OK | 10 |
3 | 4ms | 1540kb | OK | 10 |
4 | 16ms | 2068kb | OK | 10 |
5 | 68ms | 2992kb | OK | 10 |
6 | 116ms | 4452kb | OK | 10 |
7 | 92ms | 3896kb | OK | 10 |
8 | 184ms | 5392kb | OK | 10 |
9 | 192ms | 4912kb | OK | 10 |
10 | 204ms | 6652kb | OK | 10 |
Punctaj total | 100 |