Pagini recente » Fmi No Stress 9 | Cod sursa (job #3262423) | Fmi No Stress 9 | Borderou de evaluare (job #3146065) | Borderou de evaluare (job #1696119)
Borderou de evaluare (job #1696119)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pattern.in", "r", stdin);
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pattern.out", "w", stdout);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &T);
^
user.cpp:39:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (big + 1), N = strlen (big + 1);
^
user.cpp:40:54: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (pa + 1), M = strlen (pa + 1), mod = 1e9 + 7;
^
/tmp/ccptiuL9.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 | 456ms | 1204kb | OK | 10 |
2 | 0ms | 468kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 |
4 | 4ms | 484kb | OK | 10 |
5 | 0ms | 484kb | OK | 10 |
6 | 124ms | 844kb | OK | 10 |
7 | 228ms | 828kb | OK | 10 |
8 | 276ms | 1164kb | OK | 10 |
9 | 416ms | 1152kb | OK | 10 |
10 | 344ms | 1184kb | OK | 10 |
Punctaj total | 100 |