Pagini recente » Borderou de evaluare (job #1339294) | Borderou de evaluare (job #1462723) | Borderou de evaluare (job #1764951) | Borderou de evaluare (job #1281090) | Borderou de evaluare (job #1462658)
Borderou de evaluare (job #1462658)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.in", "r", stdin);
^
user.cpp:12:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.out", "w", stdout);
^
user.cpp:13:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val);
^
/tmp/ccb6pWS5.o: In function `main':
user.cpp:(.text.startup+0x5a): 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 | 288kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 312kb | OK | 10 |
8 | 0ms | 312kb | OK | 10 |
9 | 4ms | 752kb | OK | 10 |
10 | 4ms | 740kb | OK | 10 |
Punctaj total | 100 |