Pagini recente » Borderou de evaluare (job #1023128) | Borderou de evaluare (job #2780605) | Borderou de evaluare (job #1012766) | Borderou de evaluare (job #1244851) | Borderou de evaluare (job #1249450)
Borderou de evaluare (job #1249450)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65: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:66: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:67:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d\n",&N,&M);
^
user.cpp:75:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(num);
^
/tmp/ccvZ0tRb.o: In function `main':
user.cpp:(.text.startup+0xba): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 872kb | Incorect! | 0 |
| 2 | 0ms | 868kb | Incorect! | 0 |
| 3 | 0ms | 1360kb | Incorect! | 0 |
| 4 | 4ms | 2680kb | Incorect! | 0 |
| 5 | 8ms | 3776kb | Incorect! | 0 |
| 6 | 8ms | 3780kb | Incorect! | 0 |
| 7 | 12ms | 4836kb | Incorect! | 0 |
| 8 | 12ms | 4836kb | Incorect! | 0 |
| 9 | 0ms | 704kb | S-a respectat legea! | 10 |
| 10 | 8ms | 3504kb | S-a respectat legea! | 10 |
| Punctaj total | 20 |