Pagini recente » Borderou de evaluare (job #2533420) | Borderou de evaluare (job #3240315) | Borderou de evaluare (job #1594684) | Borderou de evaluare (job #657497) | Borderou de evaluare (job #1871123)
Borderou de evaluare (job #1871123)
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/ccmw3dA1.o: In function `main':
user.cpp:(.text.startup+0x98): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Incorect! | 0 |
2 | 0ms | 364kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 280kb | Incorect! | 0 |
4 | 0ms | 300kb | Incorect! | 0 |
5 | 0ms | 356kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 360kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 356kb | 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 | 356kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 10 |