Pagini recente » Borderou de evaluare (job #2017660) | Borderou de evaluare (job #1983641) | Borderou de evaluare (job #3181610) | Borderou de evaluare (job #2469379) | Borderou de evaluare (job #1795669)
Borderou de evaluare (job #1795669)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seif.in", "r", stdin);
^
user.cpp:54:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seif.out", "w", stdout);
^
user.cpp:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:58:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:59:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); n = strlen(a+1);
^
user.cpp:60:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1); m = strlen(b+1);
^
/tmp/ccNOGXaM.o: In function `main':
user.cpp:(.text.startup+0x84): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 4992kb | OK | 10 |
2 | 16ms | 4992kb | OK | 10 |
3 | 20ms | 4996kb | OK | 10 |
4 | 36ms | 4992kb | OK | 10 |
5 | 60ms | 4996kb | OK | 10 |
6 | 68ms | 4996kb | OK | 10 |
7 | 80ms | 4996kb | OK | 10 |
8 | 100ms | 4992kb | OK | 10 |
9 | 96ms | 4996kb | OK | 10 |
10 | 96ms | 4992kb | OK | 10 |
Punctaj total | 100 |