Pagini recente » Borderou de evaluare (job #1181273) | Borderou de evaluare (job #3120832) | Borderou de evaluare (job #1206247) | Borderou de evaluare (job #2163394) | Borderou de evaluare (job #1249448)
Borderou de evaluare (job #1249448)
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/ccDi7roD.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 | 876kb | Incorect! | 0 |
2 | 0ms | 864kb | Incorect! | 0 |
3 | 0ms | 1364kb | Incorect! | 0 |
4 | 4ms | 2680kb | Incorect! | 0 |
5 | 8ms | 3768kb | Incorect! | 0 |
6 | 8ms | 3776kb | Incorect! | 0 |
7 | 12ms | 4836kb | Incorect! | 0 |
8 | 12ms | 4836kb | Incorect! | 0 |
9 | 0ms | 704kb | Incorect! | 0 |
10 | 8ms | 3512kb | S-a respectat legea! | 10 |
Punctaj total | 10 |