Pagini recente » Borderou de evaluare (job #1530343) | Cod sursa (job #587700) | Borderou de evaluare (job #2626874) | Cod sursa (job #9136) | Borderou de evaluare (job #1547812)
Borderou de evaluare (job #1547812)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos = NextLetter[Word[1]][i];
^
user.cpp:46:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos = NextLetter[Word[j]][pos+1];
^
user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mesaj2.in" ,"r", stdin );
^
user.cpp:19:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mesaj2.out","w", stdout);
^
user.cpp:21:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", String + 1);
^
user.cpp:36:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &NrWords);
^
user.cpp:38:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", Word + 1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 660kb | OK | 10 |
| 2 | 0ms | 660kb | OK | 10 |
| 3 | 0ms | 656kb | OK | 10 |
| 4 | 12ms | 652kb | OK | 10 |
| 5 | Depăşit | 660kb | Time limit exceeded. | 0 |
| 6 | 24ms | 668kb | OK | 10 |
| 7 | 28ms | 664kb | OK | 10 |
| 8 | 48ms | 668kb | OK | 10 |
| 9 | Depăşit | 664kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 664kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |