Pagini recente » Borderou de evaluare (job #1606289) | Borderou de evaluare (job #3168347) | Borderou de evaluare (job #2712548) | Borderou de evaluare (job #709028) | Borderou de evaluare (job #1871148)
Borderou de evaluare (job #1871148)
Raport evaluator
Compilare:
user.cpp: In function ‘int cupleaza(int)’:
user.cpp:14:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<G[nod].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("senat.in","r",stdin);
^
user.cpp:42:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("senat.out","w",stdout);
^
user.cpp:43:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:44:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:47:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccXhuRRt.o: In function `main':
user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect! | 0 |
2 | 0ms | 360kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 272kb | Incorect! | 0 |
4 | 0ms | 296kb | Incorect! | 0 |
5 | 0ms | 360kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 356kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 348kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 360kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 280kb | S-a respectat legea! | 10 |
10 | 0ms | 360kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 10 |