Pagini recente » Cod sursa (job #1661053) | Cod sursa (job #1677404) | Cod sursa (job #677998) | Cod sursa (job #1834894) | Borderou de evaluare (job #1525412)
Borderou de evaluare (job #1525412)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:89:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nuke.in", "r", stdin);
^
user.cpp:90:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nuke.out", "w", stdout);
^
user.cpp:93:28: 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:96:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ln);
^
user.cpp: In member function ‘void BOMB::read(int)’:
user.cpp:17:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ln);
^
/tmp/cczI3hsA.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 14348kb | OK | 10 |
| 2 | 16ms | 14364kb | OK | 10 |
| 3 | 36ms | 14544kb | OK | 10 |
| 4 | 60ms | 14736kb | OK | 10 |
| 5 | 172ms | 15436kb | OK | 10 |
| 6 | 284ms | 16164kb | OK | 10 |
| 7 | 320ms | 16364kb | OK | 10 |
| 8 | 340ms | 16384kb | OK | 10 |
| 9 | 344ms | 16356kb | OK | 10 |
| 10 | 352ms | 16392kb | OK | 10 |
| Punctaj total | 100 |