Pagini recente » Borderou de evaluare (job #2839807) | Borderou de evaluare (job #1124117) | Borderou de evaluare (job #115956) | Borderou de evaluare (job #3284811) | Borderou de evaluare (job #1757433)
Borderou de evaluare (job #1757433)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("conexiuni.in", "r", stdin);
^
user.cpp:29:29: 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:30:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
user.cpp:31:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:68:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("conexiuni.out", "w", stdout);
^
/tmp/cc9Vwk0L.o: In function `read()':
user.cpp:(.text+0x12c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | OK | 10 |
2 | 0ms | 488kb | OK | 10 |
3 | 8ms | 488kb | OK | 10 |
4 | 12ms | 488kb | OK | 10 |
5 | 112ms | 488kb | OK | 10 |
6 | 140ms | 488kb | OK | 10 |
7 | 60ms | 492kb | Incorect | 0 |
8 | Depăşit | 444kb | Time limit exceeded. | 0 |
9 | Depăşit | 444kb | Time limit exceeded. | 0 |
10 | Depăşit | 444kb | Time limit exceeded. | 0 |
Punctaj total | 60 |