Pagini recente » Borderou de evaluare (job #142785) | Borderou de evaluare (job #2847698) | Borderou de evaluare (job #1173092) | Borderou de evaluare (job #1383513) | Borderou de evaluare (job #1495327)
Borderou de evaluare (job #1495327)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d\n" , &T);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in" , "r" , stdin);
^
user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out" , "w" , stdout);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n" , &T);
^
user.cpp:20:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c + 1);
^
/tmp/cciNSXnO.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 356kb | OK | 10 |
4 | 48ms | 2572kb | OK | 10 |
5 | 12ms | 756kb | OK | 10 |
6 | 36ms | 1500kb | OK | 10 |
7 | 92ms | 3532kb | OK | 10 |
8 | 140ms | 5096kb | OK | 10 |
9 | 8ms | 588kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |