Pagini recente » Borderou de evaluare (job #1795915) | Borderou de evaluare (job #2214795) | Borderou de evaluare (job #1045331) | Borderou de evaluare (job #489969) | Borderou de evaluare (job #1795666)
Borderou de evaluare (job #1795666)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52: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:53: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:55:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:57:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:58: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:59: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/ccV9ugQc.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 | 4988kb | OK | 10 |
2 | 16ms | 4992kb | OK | 10 |
3 | 20ms | 4992kb | OK | 10 |
4 | 36ms | 4992kb | OK | 10 |
5 | 60ms | 4992kb | OK | 10 |
6 | 68ms | 4988kb | OK | 10 |
7 | 80ms | 4988kb | OK | 10 |
8 | 96ms | 4988kb | OK | 10 |
9 | 96ms | 4996kb | OK | 10 |
10 | 96ms | 4992kb | OK | 10 |
Punctaj total | 100 |