Borderou de evaluare (job #1243105)

Utilizator TzapulPaun Victor Tzapul Data 15 octombrie 2014 16:46:48
Problema Alibaba Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp:1:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable : 4996) ^ user.cpp: In function ‘int main()’: user.cpp:14:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10002]’ [-Wformat=] fscanf(f, "%s", &s); ^ user.cpp:13:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &n, &k); ^ user.cpp:14:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &s); ^ user.cpp:25:25: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] strcpy(s + x, s + x + 1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms252kbIncorect0
30ms252kbIncorect0
40ms248kbIncorect0
54ms252kbIncorect0
60ms252kbIncorect0
70ms256kbIncorect0
8Depăşit256kbTime limit exceeded.0
944ms252kbIncorect0
10Depăşit248kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?